FROM alpine-jdk8

WORKDIR /data

ENV LANG=C.UTF-8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime 
ADD takin-web-app.jar application-local.yml ./apps/takin-web/
ADD simulator-agent.zip /data/
ENV MEMORY=512M

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["sh","/entrypoint.sh"]

EXPOSE 10008
